package com.crape.account.dao;

import java.util.List;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.AccountInfo;
import com.crape.common.model.DarrenIndex;

public interface IDarrenIndexDAO {

	DarrenIndex getDarrenIndexBydarrenid(Long darrenid) throws DAOException;

	void insertDarrenIndex(DarrenIndex darrenIndex) throws DAOException;

	void updateDarrenIndex(DarrenIndex darrenIndex) throws DAOException;

	List<AccountInfo> getIndexDarrens(Long accountid, String email, Integer indexType, Integer startIndex, Integer pageSize) throws DAOException;

	Long countIndexDarrens(Long accountid, String email, Integer indexType) throws DAOException;

	List<AccountInfo> getIndexShowDarrens(Integer indexType, Integer showNum) throws DAOException;

}
